package top.chmin.project.cloud.sys.code;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.PostMapping;
import lombok.experimental.Accessors;
import lombok.Setter;
import lombok.Getter;


/**
 * chmin
 * 2024-01-26 14:00:51
 * cloud-code
 */
public interface CodeDeleteRest {

    @PostMapping("/cloud-code/code/auto/delete")
    int delete(@RequestBody P p);

    @Getter
    @Setter
    @Accessors(chain = true)
    class P {
        private Integer id;
    }

}